<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ page import="model.Emploee" %>
<%@ page import="java.util.ArrayList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<!-- meta -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!-- css -->
<link href="style.css" media="all" rel="stylesheet" type="text/css" />
<!-- js -->
<script src="" type="text/javascript"></script>
<!-- title -->
<title>NEMS</title>
</head>
<body>
<h1>Test</h1>
<%
ArrayList<Emploee> emploees = new ArrayList<Emploee>();
int s = (Integer) request.getAttribute("count");
System.out.println(s);
emploees = (ArrayList<Emploee>) request.getAttribute("emploees");
for(int i = 0;i < s; i++){
	Emploee emploee = emploees.get(i);
	System.out.println(emploee.emploee_no);
	System.out.println(emploee.first_name);
	System.out.println(emploee.last_name);
	System.out.println(emploee.sex);
	System.out.println(emploee.join_date);
	System.out.println(emploee.section);
	System.out.println(emploee.e_mail);
}
// for (Emploee emploee : request.getAttribute("emploees")) {
// 	System.out.println(emploee.emploee_no + " " + emploee.first_name);
// }
%>
<%= s %>
</body>
</html>